﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace ZBJF.Warranty.WebApiSite.Models.ForSeller.Request
{
    /// <summary>
    /// 保单信息
    /// </summary>
    public class InsuranceOrderInfoParam
    {
        /// <summary>
        /// 商家订单号
        /// </summary>
        public string ThirdUniqueNumber { get; set; }
        /// <summary>
        /// 保险产品ID
        /// </summary>
        public long SellerInsuranceProductsId { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 证件类型
        /// </summary>
        public string CertificateType { get; set; }
        /// <summary>
        /// 证件号码
        /// </summary>
        public string CertificateNO { get; set; }
        /// <summary>
        /// 手机号码
        /// </summary>
        public string UserPhone { get; set; }
        /// <summary>
        /// 型号ID
        /// </summary>
        public long ModelId { get; set; }
        /// <summary>
        /// 设备IMEI
        /// </summary>
        public string IMEI { get; set; }
        ///// <summary>
        ///// 设备价格
        ///// </summary>
        //public decimal EquipmentPrice { get; set; }
        /// <summary>
        /// 凭证图片路径
        /// </summary>
        public string CertificateImageUrl { get; set; }
        /// <summary>
        /// 时间戳（2分钟内的消息有效）
        /// </summary>  
        public long Timestamp { get; set; }
        /// <summary>
        /// 签名 MD5_32X2(字段名称排序DESC（保险产品ID+姓名+证件类型+证件号码+手机号码+型号ID+设备IMEI+凭证图片路径+时间戳)+中保金服给的密钥)
        /// </summary>
        public string Sign { get; set; }
        /// <summary>
        /// 销售商员工ID
        /// </summary>  
        public string SaleEmployeeId { get; set; }
    }

    ///// <summary>
    ///// 保险人信息
    ///// </summary>
    //public class InsurancePersonInfo {
    //    /// <summary>
    //    /// 姓名
    //    /// </summary>
    //    public string UserName { get; set; }
    //    /// <summary>
    //    /// 证件类型
    //    /// </summary>
    //    public string CertificateType { get; set; }
    //    /// <summary>
    //    /// 证件号码
    //    /// </summary>
    //    public string CertificateNO { get; set; }
    //    /// <summary>
    //    /// 手机号码
    //    /// </summary>
    //    public string UserPhone { get; set; }
    //}
    ///// <summary>
    ///// 保险标的信息
    ///// </summary>
    //public class InsuranceTargetInfo
    //{
    //    /// <summary>
    //    /// 型号ID
    //    /// </summary>
    //    public long ModelId { get; set; }

    //    /// <summary>
    //    /// 设备IMEI
    //    /// </summary>
    //    public string IMEI { get; set; }
    //    /// <summary>
    //    /// 凭证图片路径
    //    /// </summary>
    //    public string CertificateImageUrl { get; set; }

    //}
}